#include "simplesolver.h"

SimpleSolver::SimpleSolver(BaseGaussSeidelSolver * in_slvr, QObject *parent) :
    QThread(parent), inner_solver(in_slvr)
{
}


void SimpleSolver::run()
{
    if (inner_solver)
        inner_solver->solve();
}


void SimpleSolver::stop()
{
    inner_solver->stop();

}

void SimpleSolver::showGraph()
{
    inner_solver->showGraph();
}
